package com.smz.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smz.entity.TLogistics;
import com.smz.entity.TVehicleCar;
import com.smz.entity.TVehicleDriver;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TVehicleCarService extends IService<TVehicleCar> {

    /**
     * ggy
     * 查询所有车辆
     */
    List<TVehicleCar> findTVehicleCarAllGgy();
    
    IPage<TVehicleCar> findTVehicleCarPage(int current, int size);

    IPage<TVehicleCar> findTVehicleCarPageId(int current, int size, @Param("vehicleId") int vehicleId);

    IPage<TVehicleCar> findTVehicleCarPageNameNumber(int current, int size,
                                                     @Param("vehicleName") String vehicleName,
                                                     @Param("numberPlate") String numberPlate);

    List<TVehicleDriver> findCarDriverName();

    List<TLogistics> findCarLogisticsName();
}
